package edu.whu.assignment8.dataobject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "product")
public class Product {
    @TableId(type = IdType.ASSIGN_ID)
    private Integer pid;

    private String pname;
    private String image;
    private Double price;
}
